package bj.yanchao.com.githubdemo.modules;

import android.content.SharedPreferences;

import bj.yanchao.com.githubdemo.components.ActivityScope;
import dagger.Module;
import dagger.Provides;

/**
 * ${TODO} What the class does
 *
 * @author： yanchao
 * @date： 6/4/16-5:10 PM
 * ${TAGS}
 */
@ActivityScope
@Module
public class ActivityModule {
    @Provides
    SharedPreferences.Editor provides(SharedPreferences v_preferences) {
        return v_preferences.edit();
    }
}
